package com.jnc.core.base.service;

import com.jnc.core.base.model.Role;

import java.util.List;

/**
 * @Author: jjn
 * @Date: 2018/9/19
 * @Desc:
 */
public interface RoleService {
    public List<Role> queryRole(Role record);
    public Role getRole(Integer roleId);
    public List<Role> checkRole(Role record);
    public int deleteRole(String ids);
    public int addRole(Role record);
    public int editRole(Role record);
    public List<String> getRoleCodeByUser(Integer userId);
    public int author(Role role);
}
